package com.strive.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.naming.Name;

/**
 * @description:
 * @author: bingcun.chen
 * @Date: 2022/2/25 10:45
 * @Version 1.0
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "tb_permission")
public class TbPermission {
    private Long id;
    private Long parentId;
    private String name;
    private String enname;
    private String url;
    private String description;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private String created;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private String updated;
}
